Total Complexity | 43 |
Dependencies | 5 |
Dependents | 1 |
Total lines | 258 |
Lines of code | 144 |
Logical lines of code | 75 |
Comment lines | 86 |
Methods | 13 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
location_covers_location() | 51 | 10 | 28 | |
prepare_zone_messages() | 53 | 5 | 24 | |
should_display_notice() | 70 | 6 | 5 | |
prepare_shipping_zones_dependencies() | 57 | 4 | 18 | |
prepare_covered_zones() | 61 | 4 | 13 | |
add_notice_when_multiple_zones_matches_same_territory() | 53 | 3 | 25 | |
zone_contains_postcodes() | 67 | 3 | 8 | |
location_covers_zone() | 68 | 3 | 7 | |
__construct() | 77 | 1 | 4 | |
hooks() | 79 | 1 | 3 | |
get_zones() | 81 | 1 | 3 | |
get_zone() | 80 | 1 | 3 | |
get_continent_code_for_country() | 80 | 1 | 3 |